.pub_crystal {

    background: url("@/static/aimg/img_68.png") top center no-repeat #f3f5f5;
    background-size: 100% auto;

    .page_box {
        padding: 0 28rpx;

        .tab_div {
            width: 100%;
            height: 94rpx;
            display: flex;
            border: 2rpx solid #fff;
            background: url("@/static/aimg/img_65.png") center no-repeat;
            background-size: cover;
            border-radius: 47rpx;
            // overflow: hidden;
            overflow-x: auto;

            .tab {
                flex-shrink: 0;
                width: auto;
                height: 90rpx;
                line-height: 90rpx;
                text-align: center;
                color: #333;
                font-size: 28rpx;
                padding: 0 60rpx;
            }

            .tab_active {
                // background-color: rgba(255, 255, 255, 0.4);
                border-radius: 45rpx;
                color: #fff;
                background-image: linear-gradient(to right, #9C8BFC, #806EF9);
            }
        }

        .search_div {
            width: 100%;
            height: 100rpx;
            padding: 25rpx 30rpx;
            background: url("@/static/aimg/img_65.png") center no-repeat;
            background-size: cover;
            // background-color: #fff;
            border-radius: 50rpx;
            display: flex;
            margin: 30rpx 0 30rpx 0;

            .input {
                flex: 1;
                font-size: 28rpx;
                height: 50rpx;
                line-height: 50rpx;
                color: #333;
            }

            .uni-input-placeholder {
                color: #777 !important;
            }

            .btn {
                width: 50rpx;
                height: 50rpx;
                background: url("@/static/aimg/img_93.png") center no-repeat;
                background-size: 50rpx;
                margin: 0 0 0 40rpx;
            }
        }

        .lis_div {
            height: calc(100% - 94rpx - 160rpx);

            .lis {
                width: 100%;
                display: flex;
                flex-wrap: wrap;

                .li {
                    width: 48%;
                    margin: 0 4% 30rpx 0;
                    background-color: #fff;
                    border-radius: 10rpx;

                    .img {
                        width: 100%;
                        height: 300rpx;
                        border-top-right-radius: 10rpx;
                        border-top-left-radius: 10rpx;
                        overflow: hidden;
                    }

                    .p_1 {
                        font-size: 28rpx;
                        color: #000;
                        line-height: 36rpx;
                        margin: 14rpx 0 10rpx 0;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                        max-height: 72rpx;
                        padding: 0 20rpx;
                    }

                    .p_2 {
                        font-size: 24rpx;
                        color: #9A9A9A;
                        line-height: 30rpx;
                        padding: 0 20rpx 20rpx 20rpx;

                        .txt {
                            color: #806EF9;
                            font-weight: bold;
                            padding: 0 6rpx 0 0;
                        }
                    }
                }

                .li:nth-child(2n) {
                    margin: 0 0 30rpx 0;
                }
            }


        }
    }
}

.pub_crystal_detail {
    background: url("@/static/aimg/img_68.png") top center no-repeat #f3f5f5;
    background-size: 100% auto;

    .pub_btn {
        background-image: linear-gradient(to right, #9C8BFC, #806EF9);
    }

    .page_box {
        padding: 0 0 100rpx 0;

        .detail_box {
            width: 100vw;
            color: #333 !important;

            ::v-deep img {
                width: 100vw;
                height: auto;
                display: block;
                margin: 0 auto;
            }
        }


        .foot_btn {
            position: fixed;
            bottom: 0;
            left: 0;
            z-index: 10;
            width: 100%;
            border-radius: 0;
        }
    }


    .alert_div_shadow {
        width: 100vw;
        height: calc(100vh - 100rpx);
        background-color: rgba(0, 0, 0, 0.55);
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 1000001;

        .alert_div {
            width: 100vw;
            background: url("@/static/aimg/img_65.png") center no-repeat;
            background-size: 120% 120%;
            border-top-left-radius: 40rpx;
            border-top-right-radius: 40rpx;
            padding: 100rpx 30rpx 70rpx 30rpx;
            position: absolute;
            bottom: 0;
            left: 0;

            .cha {
                width: 40rpx;
                height: 40rpx;
                background: url("@/static/aimg/img_67.png") center no-repeat;
                background-size: 40rpx;
                position: absolute;
                right: 30rpx;
                top: 30rpx;
            }

            .alert_box {
                max-height: 45vh;
                overflow-y: scroll;
            }

            .info {
                width: 100%;
                position: relative;
                height: 180rpx;
                padding: 0 0 0 210rpx;
                display: flex;
                flex-wrap: wrap;
                align-content: space-between;
                margin-bottom: 50rpx;

                .img {
                    width: 180rpx;
                    height: 180rpx;
                    position: absolute;
                    left: 0;
                    top: 0;
                    border-radius: 13rpx;
                    overflow: hidden;
                }

                .text {
                    width: 100%;

                    .p_1 {
                        font-size: 32rpx;
                        color: #000;
                        line-height: 40rpx;
                        max-height: 80rpx;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                    }

                    .p_2 {
                        font-size: 24rpx;
                        color: #999;
                        line-height: 40rpx;
                        margin-top: 20rpx;

                        .span_1 {
                            font-size: 36rpx;
                            font-weight: bold;
                            padding: 0 4rpx;
                            color: #1F7CFF;
                        }

                        .span_2 {
                            float: right;
                        }
                    }
                }
            }

            .sku_lists {
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                margin-bottom: 20rpx;

                .sku_li {
                    height: 60rpx;
                    line-height: 60rpx;
                    color: #444;
                    font-size: 24rpx;
                    padding: 0 20rpx;
                    margin: 0 30rpx 30rpx 0;
                    border-radius: 25rpx;
                    background: url('@/static/aimg/img_65.png') center no-repeat;
                    background-size: cover;
                }

                .sku_li_active {
                    color: #fff;
                    background-image: linear-gradient(to right, #9C8BFC, #806EF9);
                }
            }

            .info_nums {
                margin: 40rpx 0 50rpx 0;
                line-height: 40rpx;
                display: flex;
                justify-content: space-between;

                .p {
                    font-size: 28rpx;
                    color: #333;
                    line-height: 40rpx;
                }

                .nums {
                    display: flex;

                    .sub {
                        width: 70rpx;
                        height: 60rpx;
                        border-top-left-radius: 30rpx;
                        border-bottom-left-radius: 30rpx;
                        border-right: 2rpx solid rgba(255, 255, 255, 0.8);
                        background: url("@/static/aimg/img_94.png") center no-repeat rgba(0, 0, 0, 0.3);
                        background-size: 18rpx auto;
                    }

                    .add {
                        width: 70rpx;
                        height: 60rpx;
                        border-top-right-radius: 30rpx;
                        border-bottom-right-radius: 30rpx;
                        background-color: rgba(0, 0, 0, 0.5);
                        border-left: 2rpx solid rgba(255, 255, 255, 0.8);
                        background: url("@/static/aimg/img_95.png") center no-repeat rgba(0, 0, 0, 0.3);
                        background-size: 18rpx auto;
                    }

                    .num {
                        height: 60rpx;
                        line-height: 60rpx;
                        font-size: 28rpx;
                        color: #fff;
                        background-color: rgba(0, 0, 0, 0.3);
                        padding: 0 40rpx;
                    }
                }
            }
        }
    }
}


.pub_crystal_order {
    .page_box {
        padding: 0 28rpx;

        .tab_div {
            width: 100%;
            height: 94rpx;
            display: flex;
            border: 2rpx solid #9C8BFC;
            border-radius: 47rpx;
            overflow: hidden;

            .tab {
                width: 25%;
                height: 90rpx;
                line-height: 90rpx;
                text-align: center;
                color: #333;
                font-size: 28rpx;
            }

            .tab_active {
                background-image: linear-gradient(to right, #9C8BFC, #806EF9);
                color: #fff;
                border-radius: 45rpx;
            }
        }

        .lis_div {
            margin-top: 50rpx;
            height: calc(100% - 94rpx - 50rpx);

            .li {
                width: 100%;
                border-bottom: 2rpx solid rgb(156, 139, 252);
                border-top: 2rpx solid rgb(156, 139, 252);
                border-radius: 24rpx;
                margin: 30rpx 0;
                padding: 30rpx;
                display: flex;
                flex-wrap: wrap;
                position: relative;
                overflow: hidden;

                .img {
                    width: 200rpx;
                    height: 200rpx;
                    border-radius: 4rpx;
                    overflow: hidden;
                }

                .status {
                    width: 120rpx;
                    height: 50rpx;
                    position: absolute;
                    right: 0;
                    top: 0;
                    text-align: center;
                    font-size: 24rpx;
                    line-height: 50rpx;
                    padding: 0 10rpx;
                    color: #fff;
                    background-color: #9C8BFC;
                    border-bottom-left-radius: 20rpx;
                }

                .good_info {
                    width: calc(100% - 230rpx);
                    margin: 0 0 0 30rpx;

                    .title {
                        line-height: 40rpx;
                        color: #000;
                        font-size: 28rpx;
                        width: calc(100% - 130rpx);
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                    .p_1 {
                        font-size: 24rpx;
                        color: #777;
                        line-height: 30rpx;
                        margin: 18rpx 0;
                    }

                    .p_2 {
                        font-size: 24rpx;
                        color: #ACACAC;
                        line-height: 30rpx;
                        margin: 18rpx 0;

                        .span_1 {
                            color: #7aaaef;
                            padding: 0 4rpx 0 0;
                        }

                        .span_2 {
                            float: right;
                        }
                    }

                    .p_3 {
                        font-size: 24rpx;
                        color: #ACACAC;
                        line-height: 30rpx;

                        .span_1 {
                            color: #1F7CFF;
                            padding: 0 4rpx 0 0;
                            font-weight: bold;
                            font-size: 28rpx;
                        }
                    }
                }

                .other_info {
                    width: 100%;
                    margin-top: 30rpx;

                    .p_1 {
                        font-size: 24rpx;
                        color: #ACACAC;
                        line-height: 40rpx;

                        .span {
                            color: #777;
                            line-height: 40rpx;
                        }

                        .span_1 {
                            color: #555;
                            font-size: 24rpx;
                            margin: 0 0 0 20rpx;
                        }
                    }
                }

                .btns {
                    width: 100%;
                    display: flex;
                    justify-content: flex-end;
                    padding: 30rpx 0 10rpx 0;

                    .btn {
                        line-height: 60rpx;
                        color: #fff;
                        // background: url("@/static/aimg/img_32.png") center no-repeat;
                        // background-size: 100% 100%;
                        margin: 0 0 0 30rpx;
                        padding: 0 60rpx;
                        font-size: 28rpx;
                        border-radius: 30rpx;
                    }
                }
            }

            .li:nth-child(1) {
                margin: 0;
            }
        }
    }
}